import request from '@/utils/request.js';

export const getActions = () =>{
    return request({
        url:'/actions',
        method:'get'
    })
}

export const getStates = () =>{
    return request({
        url:'/states',
        method:'get'
    })
}

export const getAgents = () =>{
    return request({
        url:'/agents',
        method:'get'
    })
}


export const getAllData = (ids) =>{
    return request({
        url:'/communicate?elm_ids='+ids,
        method:'get'
    })
}
